﻿<div class="main_hd">
    <h2>诺标DEMO</h2>
</div>
<div class="main_bd">
    <div class="panel panel-default">
        <!--<div class="panel-body">
            <div class="form-inline">
                <div class="form-group">
                    <label for="condition_keyword">&nbsp;&nbsp;&nbsp;&nbsp;姓名: </label>
                    <input class="form-control" type="text" ng-model="Condition.CustomerName" placeholder="姓名..." />
                </div>
                <div class="form-group">
                    <label for="condition_keyword">&nbsp;&nbsp;&nbsp;&nbsp;手机号: </label>
                    <input class="form-control" type="text" ng-model="Condition.Mobile" placeholder="手机号..." />
                </div>
                <div class="form-group">
                    <label for="condition_keyword">&nbsp;&nbsp;&nbsp;&nbsp;地址: </label>
                    <input class="form-control" type="text" ng-model="Condition.Address" placeholder="地址..." />
                </div>
                <div class="form-group">
                    <button type="button" class="btn btn-primary" ng-click="GetCustomerPageList()"><span class="glyphicon glyphicon-search"></span> 查 询</button>
                </div>
            </div>
        </div>-->
    </div>
    <div class="panel panel-default">
        <div class="panel-body">
            <table class="table table-hover table-striped table-bordered">
                <thead class="thead">
                    <tr>
                        <th style="width:50px;">序号</th>
                        <th style="width:120px;">codeID</th>
                        <th style="width:110px;">name</th>
                        <th style="width:50px;">parentID</th>
                        <th style="width:150px;" ng-hide="{{type=='search'}}">
                            <button type="button" class="btn btn-warning btn-xs" ng-click="Dialog_AddCustomer()">
                                <span class="glyphicon glyphicon-plus-sign"></span>
                                新增客户
                            </button>
                        </th>
                    </tr>
                </thead>
                <tbody>
                    <tr ng-repeat="item in SYSRegionData.PageData">
                        <td ng-bind="$index+1"></td>
                        <td ng-bind="item.codeID"></td>
                        <td ng-bind="item.name" style="cursor:pointer;"></td>
                        <td ng-bind="item.parentID"></td>
                        <td>
                            <!--<button type="button" ng-if="false" class="btn btn-primary btn-xs" ng-click="Dialog_CustomerDetail(item)">
                                <span class="glyphicon glyphicon-info-sign"></span> 详细信息
                            </button>
                            <button type="button" class="btn btn-info btn-xs" ng-click="Dialog_EditCustomer(item)">
                                <span class="glyphicon glyphicon-edit"></span> 编辑
                            </button>-->
                            <button type="button" class="btn btn-danger btn-xs" ng-click="DeleteCustomer(item)">
                                <span class="glyphicon glyphicon-remove"></span> 删除
                            </button>
                        </td>
                    </tr>
                </tbody>
                <tfoot>
                    <tr>
                        <td colspan="7">
                            <lpager pagedata="SYSRegionData" link="GetSysRegion"></lpager>
                        </td>
                    </tr>
                </tfoot>
            </table>
        </div>
    </div>
</div>